import pandas as pd
import os

# 创建目录
os.makedirs(r"F:\apk20250716", exist_ok=True)
os.makedirs(r"F:\apk20250716\report", exist_ok=True)

# 创建样例URL列表
urls = [
    "/home/saveData/appCheck/百度地图(9bca799a28947c9476dcd1f27bd17269)综合分析报告.doc",
    "/home/saveData/appCheck/微信(862c2fa0b3b0b0a2c527c4c4c2c2d0a2)综合分析报告.doc",
    "/home/saveData/appCheck/QQ(a1b2c3d4e5f6g7h8i9j0)综合分析报告.doc",
    "/home/saveData/appCheck/抖音(1234567890abcdef1234567890abcdef)综合分析报告.doc",
    "/home/saveData/appCheck/淘宝(abcdef1234567890abcdef1234567890)综合分析报告.doc"
]

# 创建DataFrame
df = pd.DataFrame({'url': urls})

# 保存为Excel
excel_path = r"F:\apk20250716\urls.xlsx"
df.to_excel(excel_path, index=False)

print(f"样例Excel文件已创建: {excel_path}")
print(f"包含 {len(urls)} 条URL记录") 